import React, { memo, useEffect, useState } from "react";
import { View, ScrollView } from "@tarojs/components";
import ScrollItem from "../ScrollItem"




import './index.scss'

const AchievementReport = (props) => {

  return (


    <View className='scroll-box-report'>
      <View className='card-name text1 black'>业绩报告</View>
      <ScrollItem title='净值日累计净值' keyName='curTotalNet' retain={2} />
      <ScrollItem title='累计净值较上周涨跌幅' keyName='lastWeekRiseFall' showColor showPercent />
      <ScrollItem title='成立日期' keyName='foundDate' formatTime />
      <ScrollItem title='成立以来年化收益率' keyName='annualizedRateOfReturn' showColor showPercent />
      <ScrollItem title='最大历史回撤' keyName='maxRetraction' showPercent showColor />

    </View>




  );
};

export default memo(AchievementReport);
